home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Sprite 1984 - 1993
/
Sprite 1984 - 1993.iso
/
man
/
cmds.fmt
/
mig.man
< prev
next >
Wrap
Text File
|
1991-05-24
|
3KB
|
133 lines
MIG User Commands MIG
NNAAMMEE
mig - Mach message interface generator
SSYYNNOOPPSSIISS
mmiigg [[--qqQQvvVVrrRRttTT]] [[--uusseerr <<nnaammee>>]] [[--sseerrvveerr <<nnaammee>>]] [[--hheeaaddeerr
<<nnaammee>>]] definitions-file
DDEESSCCRRIIPPTTIIOONN
_m_i_g(_1) uses the interface definitions in the definitions-
file and creates two c modules: subsystemUser.c and
subsystemServer.c. These modules implement respectively the
user and the server ends of a remote procedure call inter-
face to the subsystem. A header file subsystem.h is also
generated that defines the external functions and can be
included in any code using the user interface.
The switches are:
-_r,-_R
If r, use msg_rpc, if R use msg_send, msg_receive
pairs. The default is _r.
-_q,-_Q
If -q, warning statements will be suppressed. If -Q
warning statements are printed. The default is _Q.
-_v,-_V
If v, all the types, routines and arguments are printed
out as they are encountered. If V, the compilation is
silent. The default is _V.
-_s,-_S
If s, a symbol table of rpc-name, number, routine tri-
plets is generated in the server file. If S, the sym-
bol table is not generated. The default is _S.
-_i If this switch is specified, each user routine is put
in its own file, for ease in building a library. The
file name is <routine_name>.c. If this switch is not
specified (the default), all of the user routines are
put in the same file.
-_u_s_e_r <_n_a_m_e>
Name the user file <name>. If not specified, the user
file is named <subsystem>User.c.
-_s_e_r_v_e_r <_n_a_m_e>
Name the server file <name>. If not specified, the
server file is named <subsystem>Server.c.
-_h_e_a_d_e_r <_n_a_m_e>
Sprite v1.0 1/19/87 1
MIG User Commands MIG
Name the header file <name>. If not specified, the
server file is named <subsystem>.h.
FFIILLEESS
/sprite/lib/include.mach/mig_errors.h - error codes gen-
erated by mig code
subsystemUser.c - the code for the user side of the inter-
face
subsystem.h - the include file for the user routines
subsystemServer.c - the code for the server side of the
interface
HHIISSTTOORRYY
8-Feb-88 David B. Golub (dbg)
Updated document to reflect new switches.
21-Jul-87 Mary R. Thompson (mrt)
Updated document to reflect new switches.
2-Mar-87 Mary R. Thompson (mrt)
Updated document to reflect -q switch and new name for
the syntax definitions file.
20-Aug-86 Mary R. Thompson (mrt)
Created man page. mig was created by Michael W. Young
from the Spice Matchmaker program
Sprite v1.0 1/19/87 2